quartz: added open capability to gtk_application
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Tue, 16 Jun 2020 14:59:06 +0000 (16:59 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 16 Jun 2020 16:42:48 +0000 (12:42 -0400)
commitd468ea3efa4847d310143654472c0829a53b879d
treef743471c0f23430087bc89c9b8ea43aa7474cc31
parentd2cfe9f69ac7f8a9e05e50c079e84bf3b27512a3
quartz: added open capability to gtk_application

This patch implements the openFiles delegate which is required
to open files which are associated with an application via the
Finder or via open on the command line. The patch has been
proposed by jessevdk@gmail.com.

See: https://gitlab.gnome.org/GNOME/gtk/-/issues/463

I tested the patch with the GNU pspp application on MacOS with
the quartz backend.
gtk/gtkapplication-quartz.c